// 滚动到底部
export function scrollToBottom(selector: string) {
  const chatContainer = document.querySelector(selector)
  if (chatContainer) {
    chatContainer.scrollTop = chatContainer.scrollHeight
  }
}
